export const sendAction=(url,data,method)=>{
    return new Promise((resolve,reject)=>{
        console.log(data);
    wx.request({
        url:"https://dasabi999.top/api/"+url,
        data,
        method,
        success:(res)=>{resolve(res)},
        false:(res)=>{reject(res)}
    })

})
}